package com.ywqf_api.dto.exc;

import com.ywqf_api.base.BaseAPIExcution;
import com.ywqf_api.enums.LoginEnum;

/**
 * Created by Administrator on 2018/2/11 0011.
 */
public class MizExcution extends BaseAPIExcution {
    public MizExcution(LoginEnum loginEnum, Object data) {
        this.code = loginEnum.getCode();
        this.data = data;
        this.message=loginEnum.getMessage();
    }

    public MizExcution(LoginEnum loginEnum) {
        this.code = loginEnum.getCode();
    }
}

